package com.huitone.smspfm.dao.oracle;

import java.util.List;

import org.springframework.jdbc.core.BeanPropertyRowMapper;

import com.huitone.smspfm.dao.oracle.entity.UserRouteRule;

public class UserRouteRuleDao extends BaseDao<UserRouteRule> {

	@Override
	public List<UserRouteRule> getAllObj() {
		return jdbcTemplate.query("SELECT * FROM " + tableName + " WHERE STATUS = '1'", new BeanPropertyRowMapper<UserRouteRule>(UserRouteRule.class));
	}

}
